#region Summary

// 
// Owner : JackieHan 
// 
// Solution : Skomart.Spider 
// 
// Project : Jackie.Utility
// 
// File : XmlNodeErrorException.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : Xml 配置节点错误
// 
// History : 
//			2010-10-12 10:00:51	    Create 
// 

#endregion

#region Using

using System;
using System.Collections.Generic;

#endregion

namespace Jackie.Utility.CustomException
{
    /// <summary> 
    /// Xml 配置节点错误
    /// </summary>
    public class XmlNodeErrorException:ApplicationException
    {
        public XmlNodeErrorException(string nodeName, string mustedNodeName)
            : base(string.Format("the node name[{0}] must be [{1}]", nodeName, mustedNodeName))
        {
            NodeName = nodeName;
            MustedNodeName = mustedNodeName;
        }

        public string NodeName { get; private set; }

        public string MustedNodeName { get; private set; }
    }
}